import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 全局样式
import './assets/iconfont/iconfont.css'
import './assets/iconfont/iconfont.js'

import './assets/css/reset.css'
import './assets/css/style.scss'

// 自动转换rem
import 'lib-flexible/flexible.js'
// 使用vant ui
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
// 引入axios
import axios from 'axios'
import qs from 'qs' //它的作用是能把json格式的直接转成data所需的格式
Vue.prototype.$axios = axios    //全局注册，使用方法为:this.$axios
Vue.prototype.qs = qs           //全局注册，使用方法为:this.qs

Vue.config.productionTip = false

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
